package com.rose.springbootmybatis.service.impl;

import com.rose.springbootmybatis.entity.User;

import com.rose.springbootmybatis.mapper.UserMapper;
import com.rose.springbootmybatis.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    public User Sel(int id){
        return userMapper.Sel(id);
    }

}
